package team.yidong.fenda.service;

import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
import org.springframework.web.bind.annotation.RequestParam;
import team.yidong.fenda.entity.User;

import javax.jws.soap.SOAPBinding;
import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * Created by xuanlong on 2017/10/23.
 */
public interface UserService {
    JSONObject findUser(Integer hospitalId, String hospitalName, Integer limit, Integer offset, String wxNumber, String name, Double score);

    User findByUserId(Integer userId);

    void addUser(String wxNumber, String name, String info, String hospitalName);

    void deleteUser(Iterable<User> userIterable);

    void updateUser(User user);

    void changeUserBlack(Integer userId, Integer questionId);
}
